<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">


                        <head>
            <title>Project Cronos-Home</title>
            <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
            
             <!--   <link rel='stylesheet' href='style.css' type='text/css' media='screen' />  -->
               <!-- <link rel='icon' href='images/cronos.ico' type='image/x-icon' />-->
                <link rel='icon' href='images/arigel.ico' type='image/x-icon' />

            </head>

            <body><div id='outer'><div id='header'><div align='right'><img src='images/content/bug.png' title='Hic Sunt Dracones' /> � version</div><br><br><a href='main.php'><img src='images/cronos_tp.jpg' alt='EightyThree Logo' title='Go to Main Page' /></a></div><div id='clearheader'></div>
            <br /><br />
            </div>
            </div>
<?php
	$d_uid=$_REQUEST["u_id"];
	$d_pass=$_REQUEST["pass"];
	$d_dname=$_REQUEST['aaa'];
	$conn=mysql_connect('localhost','root','asdasd');
	/*echo $d_dname.'<br />';
	echo $d_uid.'<br />';
	echo $d_pass;*/
	mysql_select_db('cronah',$conn);
	//$sql=mysql_query("select * from login where u_name='".$d_uid."' and pass=''");
	$sql=mysql_query("select * from login where u_name='".$d_uid."' and pass='".$d_pass."'");
	if(! mysql_fetch_array($sql))
	 {
	 	$redirect="Location:"."index.php";
	 	echo header($redirect);
	 }
	 else
	 echo 'Welcome to Cronos'.".$d_uid.";
	  
	 echo "<a href='wiki/phpwiki/index.php'>"."Wiki".'</a>';
	//$row=mysql_fetch_array($sql);
	//echo $row['u_name']." ".$row['pass'];
	
	//if $row['u_name']<>"" ()
	
?>
           
  <div style='border-top:5px solid #000'><div style='float:right;'><a href='http://www.arigel.com' title='Go to Arigel Website'><img src='images/footer/logo.png' border=0 alt='Arigel Open Source logo' /></a></div>

  </div>
            <!-- CRONOS - 1983 -->
            <!-- This is version 0.1 Beta -->
            
            <!-- CRONOS is released under GPL v3. CRONOS is owned by Arigel --></div>


 </body>
</html>
